from PyQt5.QtGui import QIcon, QPixmap, QFont
from PyQt5.QtWidgets import QWidget, QVBoxLayout, QPushButton, QLabel, QLineEdit, QHBoxLayout, QMessageBox, QFrame, \
    QRadioButton
from PyQt5.QtCore import Qt
import requests
import threading

class Login(QWidget):
    def __init__(self,parent=None):
        super().__init__()
        self.parent=parent

        self.setWindowTitle('登录页面')
        self.resize(500, 800)
        try:
            icon = QIcon('../static/image/登录.png')
            self.setWindowIcon(icon)
        except:
            pass
        mainLayout = QVBoxLayout(self)
        self.initUI(mainLayout)
    def initUI(self,mainLayout):
        pass